cmake_minimum_required(VERSION 3.19)
project(lab3_student)

set(CMAKE_CXX_STANDARD 14)
#设置C编译器
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_C_FLAGS "-I C:\\mingw64\\include -L C:\\mingw64\\lib")

#设置C++编译器
set(CMAKE_CXX_COMPILER "g++")
set(
        CMAKE_CXX_FLAGS
        "-O0    \
        -m64    \
        -std=gnu++11    "
)
set(
        CMAKE_CXX_FLAGS
        "${CMAKE_CXX_FLAGS}     \
        -I C:\\mingw64\\include \
        -L C:\\mingw64\\lib     "
)

message(${CMAKE_CXX_FLAGS})

add_executable(
        matrix_mul
        matrix_mul.cpp
)
add_executable(
        cache_test
        cache_test.cpp
)